.Net Framework > v1.1.4322 > System > Array > BinarySearch BinarySearch(Array,Int32,Int32,Object)
BinarySearch(Array,Int32,Int32,Object,IComparer)
BinarySearch(Array,Object)
BinarySearch(Array,Object,IComparer)


BinarySearch(Array,Int32,Int32,Object)

Category
Method
Description
Searches a section of a one-dimensional sorted System.Array for a value, using the System.IComparable interface implemented by each element of the System.Array and by the specified value.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
arrayArray
indexInt32
lengthInt32
valueObject
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BinarySearch(Array,Int32,Int32,Object,IComparer)

Category
Method
Description
Searches a section of a one-dimensional sorted System.Array for a value, using the specified System.Collections.IComparer interface.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
arrayArray
indexInt32
lengthInt32
valueObject
comparerIComparer
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BinarySearch(Array,Object)

Category
Method
Description
Searches an entire one-dimensional sorted System.Array for a specific element, using the System.IComparable interface implemented by each element of the System.Array and by the specified object.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
arrayArray
valueObject
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

BinarySearch(Array,Object,IComparer)

Category
Method
Description
Searches an entire one-dimensional sorted System.Array for a value, using the specified System.Collections.IComparer interface.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
arrayArray
valueObject
comparerIComparer
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database